﻿package com
{
	import com.slurm.Screen;
	import flash.events.MouseEvent;

	public class ScreenEjemplo1 extends Screen
	{

		public function ScreenEjemplo1(script:String = "")
		{
			super(script);
		}
		
		override public function screenReady()
		{
			super.screenReady();
			lata.addEventListener(MouseEvent.MOUSE_DOWN,actionContinuar);
		}

		private function actionContinuar(e:MouseEvent)
		{
			super.idNextScreen = 0
			super.animExit();
		}
		
		override public function destroy()
		{
			Main.instance.showScreen(super.idNextScreen);
		}

	}

}